﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NGUYENTHANHDONG.OOP.Inhertance___Polimophism.EXCERCISES.EXCERCISE_02
{
    class Toyota1: Toyota
    {
        bool GuongDieuKhien, LoSuoi, AmThanh6Loa, DenSuongMu;

        public Toyota1(string Vanhduc, string denpha, string cangat, string xylanh, string tieuthu ,string nongdokhithai, bool dieuhoa, bool guongdieukhien, bool amthanh, bool densuongmu): base(Vanhduc, denpha, cangat, xylanh, tieuthu , nongdokhithai, dieuhoa)
        {
            GuongDieuKhien = guongdieukhien;
            AmThanh6Loa = amthanh;
            DenSuongMu = densuongmu;
        }

        public bool DENSUONGMU
        {
            get { return DenSuongMu; }
            set { DenSuongMu = value; }
        }

        public bool AMTHANH
        {
            get { return AmThanh6Loa; }
            set { AmThanh6Loa = value; }
        }

        public bool LOSUOI
        {
            get { return LoSuoi; }
            set { LoSuoi = value; }
        }

        public bool GUONGDIEUKHIEN
        {
            get { return GuongDieuKhien; }
            set { GuongDieuKhien = value; }
        }

    }
}
